package artibella.core.events 
{
	import flash.events.Event;

	/**
	 * ...
	 * @author pbordachar
	 */
	
	public class RubEvent extends Event 
	{

		public static const RUB_READY		:String 	= "rub_ready";
		public static const RUB_OPENED		:String 	= "rub_opened";
		public static const RUB_CLOSED		:String 	= "rub_closed";
		

		public function RubEvent( type:String, bubbles:Boolean = false, cancelable:Boolean = false ) 
		{
			super( type, bubbles, cancelable );
		}
		
		override public function clone():Event
		{
			return new RubEvent( type, bubbles, cancelable );
		}
		
		override public function toString():String
		{
			var str:String = "[RubEvent type=\""+ type +"\" bubbles="+ bubbles +" cancelable="+ cancelable +"]";
			return str;
		}
	}
}